<?php
namespace app\common\validate;
use think\Validate;

class Style extends Validate{

    protected $rule = [
        'title'=>'require',
        'cover'=>'require',
        'image_list'=>'require'
    ];

    protected $message = [
        'title.require'=>'请填写风格名称',
        'cover.require'=>'请上传风格缩略图',
        'image_list.require'=>'请上传风格图片',
    ];

}